package org.example.myleet.p1598;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(2 == solution.minOperations(new String[]{"d1/","d2/","../","d21/","./"}));
        Assert.isTrue(3 == solution.minOperations(new String[]{"d1/","d2/","./","d3/","../","d31/"}));
        Assert.isTrue(0 == solution.minOperations(new String[]{"d1/","../","../","../"}));
    }
}
